import request from '@/utils/request'

// 查询人员列表
export function listMeeting_people(query) {
  return request({
    url: '/eamp/meeting_people/list',
    method: 'get',
    params: query
  })
}

// 查询会议室使用表详细
export function getMeeting_people(peopleId) {
  return request({
    url: '/eamp/meeting_people/' + peopleId,
    method: 'get'
  })
}

// 新增会议室使用表
export function addMeeting_people(data) {
  return request({
    url: '/eamp/meeting_people',
    method: 'post',
    data: data
  })
}

// 修改会议室使用表
export function updateMeeting_people(data) {
  return request({
    url: '/eamp/meeting_people',
    method: 'put',
    data: data
  })
}

// 删除会议室使用表
export function delMeeting_people(peopleId) {
  return request({
    url: '/eamp/meeting_people/' + peopleId,
    method: 'delete'
  })
}
